﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ESOL.Common.Entity;

namespace ESOL.WinUI.Hr
{
    public partial class frmPrintFormFormalApplication : BaseForm.frmBaseDialogyForm
    {
        private List<HrFormalApplicationEntity> mFormalApplication;
        public frmPrintFormFormalApplication(List<HrFormalApplicationEntity> list)
        {
            InitializeComponent();
            mFormalApplication = list;
        }
        protected override void OnShown(EventArgs e)
        {
            frmPrintTemplateFormalApplication fXtraReport = new frmPrintTemplateFormalApplication(mFormalApplication);
            printControl1.PrintingSystem = fXtraReport.PrintingSystem;
            fXtraReport.CreateDocument();
        }
    }
}